package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class Picture extends BaseResponse{
	
	private String id;
	private String dateline;
	private String picurl;
	private String publish;
	private String upyunPath;
	

	@Override
	public void init(JSONObject source) {
		if (source != null) {
			id = source.optString("id");
			dateline = source.optString("dateline");
			picurl = source.optString("picurl");
			publish = source.optString("publish");
			upyunPath = source.optString("upyun_path");
		}
	}
	
	public String getUpyunPath() {
		return upyunPath;
	}

	public void setUpyunPath(String upyunPath) {
		this.upyunPath = upyunPath;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDateline() {
		return dateline;
	}

	public void setDateline(String dateline) {
		this.dateline = dateline;
	}

	public String getPicurl() {
		return picurl;
	}

	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}

	public String getPublish() {
		return publish;
	}

	public void setPublish(String publish) {
		this.publish = publish;
	}

}
